projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86559ed
)
ia64: Fix the build by using generic cpu_to_node() abstraction in a
author
Keir Fraser
<keir.fraser@citrix.com>
Sat, 5 Apr 2008 21:18:21 +0000
(22:18 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Sat, 5 Apr 2008 21:18:21 +0000
(22:18 +0100)
common header file.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
xen/include/xen/numa.h
patch
|
blob
|
history
diff --git
a/xen/include/xen/numa.h
b/xen/include/xen/numa.h
index 6fe8ad9a8b758fab3b668075bc69044d44caa90b..80aa3586be12f8e6457f55dd5349b811bbf12e99 100644
(file)
--- a/
xen/include/xen/numa.h
+++ b/
xen/include/xen/numa.h
@@
-12,7
+12,7
@@
#define MAX_NUMNODES (1 << NODES_SHIFT)
-#define vcpu_to_node(v) (cpu_to_node
[(v)->processor]
)
+#define vcpu_to_node(v) (cpu_to_node
((v)->processor)
)
#define domain_to_node(d) \
(((d)->vcpu[0] != NULL) ? vcpu_to_node((d)->vcpu[0]) : NUMA_NO_NODE)